package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysOperLog extends TableDef {

    public static final TSysOperLog sys_oper_log = new TSysOperLog("sys_oper_log");

    public QueryColumn oper_id = new QueryColumn(this, "oper_id");
    public QueryColumn title = new QueryColumn(this, "title");
    public QueryColumn business_type = new QueryColumn(this, "business_type");
    public QueryColumn method = new QueryColumn(this, "method");
    public QueryColumn request_method = new QueryColumn(this, "request_method");
    public QueryColumn operator_type = new QueryColumn(this, "operator_type");
    public QueryColumn oper_name = new QueryColumn(this, "oper_name");
    public QueryColumn dept_name = new QueryColumn(this, "dept_name");
    public QueryColumn oper_url = new QueryColumn(this, "oper_url");
    public QueryColumn oper_ip = new QueryColumn(this, "oper_ip");
    public QueryColumn oper_location = new QueryColumn(this, "oper_location");
    public QueryColumn oper_param = new QueryColumn(this, "oper_param");
    public QueryColumn json_result = new QueryColumn(this, "json_result");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn error_msg = new QueryColumn(this, "error_msg");
    public QueryColumn oper_time = new QueryColumn(this, "oper_time");

    public QueryColumn[] default_columns = new QueryColumn[]{oper_id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time};
    public QueryColumn[] all_columns = new QueryColumn[]{oper_id, title, business_type, method, request_method, operator_type, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status, error_msg, oper_time};

    public TSysOperLog(String tableName) {
        super(tableName);
    }
}
